package com.zzq.guli.service;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;


@ComponentScan(basePackages = "com.zzq.guli")
@EnableDiscoveryClient //开启服务发现，注册测到nacos
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class ServiceSmsApplication
{
    public static void main( String[] args )
    {
        SpringApplication.run(ServiceSmsApplication.class);
    }
}
